package com.gxa.community.customer.service.cart;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.gxa.community.core.pojo.vo.cart.CartVO;

public interface CartService {
    String queryCartInfo(Integer userId) throws JsonProcessingException;


    String addCart(Integer userId,Integer goodsId,Integer goodsQuantity) throws JsonProcessingException;

    String addCartGoodsQuantityBy1(Integer userId,Integer goodsId) throws JsonProcessingException;

    String delCartGoodsQuantityBy1(Integer userId,Integer goodsId) throws JsonProcessingException;

    String delCartGoodsBatch(Integer userId,Integer...goodsIds) throws JsonProcessingException;

    String updateCheckedStatus(Integer userId,Integer goodsId,Integer checked) throws JsonProcessingException;
}
